package meterMonitor.mapper;

import meterMonitor.model.ProductivityPO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProductivityMapper {

    List<ProductivityPO> query(ProductivityPO productivity);

    void add(ProductivityPO productivity);

    // void delete(Productivity productivity);

    void update(ProductivityPO productivity);


    List<ProductivityPO> yieldCountByLineId(@Param("lineId") Integer lineId);

    ProductivityPO selectLastestByLineId(@Param("lineId") Integer lineId);
}
